package com.wxy.demo.design_pattern.observer;

/**
 * <p>
 * 具体主题
 * </p>
 *
 * @author e-Xiaoyuan.Wang
 * @since 2022/9/8 9:47
 */
public class ConcreteSubject extends Subject {

    //具体业务
    public void doSomething() {
        System.out.println("具体目标发生改变...");
        System.out.println("--------------");
        super.notifyObserver();
    }

}
